/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.team.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 团队Entity
 * @author hang
 * @version 2017-01-14
 */
public class TbTalentTeam extends DataEntity<TbTalentTeam> {
	
	private static final long serialVersionUID = 1L;
	private String teamKind;		// 团队类别
	private String teamName;		// 团队名称/研究方向
	private String teamLeader;		// 学术带头人
	private Date leaderBirthday;		// 带头人生日
	private String money;		// 资助金额
	private String years;		// 资助年限
	private String remark;		// 备注
	private String material;		// 证明材料
	private Date createTime;		// 创建时间
	private Date updateTime;		// 更改时间
	
	public TbTalentTeam() {
		super();
	}

	public TbTalentTeam(String id){
		super(id);
	}

	@Length(min=0, max=20, message="团队类别长度必须介于 0 和 20 之间")
	public String getTeamKind() {
		return teamKind;
	}

	public void setTeamKind(String teamKind) {
		this.teamKind = teamKind;
	}
	
	@Length(min=0, max=50, message="团队名称/研究方向长度必须介于 0 和 50 之间")
	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	
	@Length(min=0, max=20, message="学术带头人长度必须介于 0 和 20 之间")
	public String getTeamLeader() {
		return teamLeader;
	}

	public void setTeamLeader(String teamLeader) {
		this.teamLeader = teamLeader;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getLeaderBirthday() {
		return leaderBirthday;
	}

	public void setLeaderBirthday(Date leaderBirthday) {
		this.leaderBirthday = leaderBirthday;
	}
	
	@Length(min=0, max=50, message="资助金额长度必须介于 0 和 50 之间")
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
	@Length(min=0, max=50, message="资助年限长度必须介于 0 和 50 之间")
	public String getYears() {
		return years;
	}

	public void setYears(String years) {
		this.years = years;
	}
	
	@Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=200, message="证明材料长度必须介于 0 和 200 之间")
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}